Opening ProjectWise Explorer
Opening ProjectWise Explorer from a Command Prompt
The executable file used to launch ProjectWise Explorer is PWC.EXE and is located in the C:\Program Files (x86)\ProjectWise\bin folder.
You can use the executable file along with various command line arguments (see below) to launch ProjectWise Explorer from a command prompt. For example, if you want to launch ProjectWise Explorer and log in to a specific datasource with a specific user name and password, open a command prompt, navigate to C:\Program Files (x86)\ProjectWise\bin, then enter the following command:
pwc.exe -d maestrovm.bentley.com:pwtest -u pwusername -p pwpassword
Creating a Desktop Shortcut to Open ProjectWise Explorer
You can also create a desktop shortcut for opening ProjectWise Explorer. For example, right-click the PWC.EXE file and select Create Shortcut.
Once the desktop shortcut is created, you can use the same command line arguments (see below) for launching ProjectWise Explorer from a command prompt. For example, open the Properties dialog for your desktop shortcut, and in the Target field, enter the following (the path to the PWC.EXE file will already be there):
"C:\Program Files (x86)\Bentley\ProjectWise\bin\pwc.exe" -d maestrovm.bentley.com:pwtest -u pwusername -p pwpassword
Command Line Arguments for Opening ProjectWise Explorer
Below are some of the more common command line arguments for opening ProjectWise Explorer.
Additional command line arguments can be found here: https://communities.bentley.com/products/projectwise/content_management/w/wiki/9209/command-line-arguments
Setting | Description |
---|---|
-d <servername>:<datasourcename> | Specifies which datasource to open. For example:
pwc.exe -d maestrovm.bentley.com:pwtest
|
-u <pwusername> | Specifies which ProjectWise user to log in as. For
example:
pwc.exe -d maestrovm.bentley.com:pwtest -u pwusername -p pwpassword
|
-p <pwpassword> | Specifies the password of the ProjectWise user to
log in as. For example:
pwc.exe -d maestrovm.bentley.com:pwtest -u pwusername -p pwpassword
If you specify a user name but no password in the command, ProjectWise Explorer opens and the Log in dialog opens with the datasource and user name specified, and the Password field is blank. |
-v <folderID> | Opens the datasource to the specified folder, by
specifying the ID number of the folder. For example:
pwc.exe -d maestrovm.bentley.com:pwtest -u pwusername -p pwpassword -v 183
|
-vn <folderpath> | Opens the datasource to the specified folder, by
specifying the full path to the folder. Do not specify the Documents root
folder in your path. For example:
pwc.exe -d maestrovm.bentley.com:pwtest -u pwusername -p pwpassword -vn MicroStation\DGNs
If any of the folders in your path has a space in the folder name, then put the entire path inside quotation marks. For example: pwc.exe -d maestrovm.bentley.com:pwtest -u pwusername -p pwpassword -vn "MicroStation\DGN Files"
|
-ns | Skips the splash screen that normally opens when
launching
ProjectWise Explorer. For example:
pwc.exe -d maestrovm.bentley.com:pwtest -u pwusername -p pwpassword -vn "MicroStation\DGN Files" -ns
|
-in <itemname> | Opens the datasource to the specified folder, with
the specified item in that folder selected (highlighted) in the document list.
For example:
pwc.exe -d maestrovm.bentley.com:pwtest -u pwusername -p pwpassword -vn "MicroStation\DGN Files" -in filename.dgn
|
-c <pwcommandID> | Opens the datasource to the specified folder, and
performs the specified command on the specified document. For example:
This command checks out the specified document: pwc.exe -d maestrovm.bentley.com:pwtest -u pwusername -p pwpassword -vn "MicroStation\DGN Files" -in filename.dgn -c 30512
This command opens (and checks out, if possible) the specified document: pwc.exe -d maestrovm.bentley.com:pwtest -u pwusername -p pwpassword -vn "MicroStation\DGN Files" -in filename.dgn -c 30501
|